package com.tiancheng.trade.order.bo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 提交的退款数据
 *
 * @author kellen
 * @date 2024/6/23
 */
@Getter
@Setter
@AllArgsConstructor
public class RefundOrdersDetailSubmitBO {

    private String orderId;
    private String paymentId;
    private String subOrderId;
    private String flowId;
    // 实退金额
    private Integer refundAmount;
    // 申请退款金额
    private Integer refundApplyAmount;
    //总优惠金额
    private Integer discount;
    //总优惠金额
    private Integer platformDiscount;
    private LocalDateTime lastUpdDt;

    public RefundOrdersDetailSubmitBO(String orderId, String paymentId, String subOrderId, String flowId,
                                      Integer refundAmount, Integer refundApplyAmount, LocalDateTime lastUpdDt) {
        this.orderId = orderId;
        this.paymentId = paymentId;
        this.subOrderId = subOrderId;
        this.flowId = flowId;
        this.refundAmount = refundAmount;
        this.refundApplyAmount = refundApplyAmount;
        this.lastUpdDt = lastUpdDt;
    }
}
